package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老师信息对象 teaching_teacher
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public class TeachingTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 老师序号 */
    private Long teacherId;

    /** 老师学号 */
    @Excel(name = "老师学号")
    private String teacherNumber;

    /** 老师职称 */
    @Excel(name = "老师职称")
    private Long teacherBooktitleId;

    /** 老师学历 */
    @Excel(name = "老师学历")
    private Long teacherRecordId;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    /** 老师性别 */
    @Excel(name = "老师性别")
    private String teacherSex;

    /** 头像 */
    @Excel(name = "头像")
    private String teacherPhotoUrl;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date teacherBirth;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String teacherSite;

    /** 老师电话 */
    @Excel(name = "老师电话")
    private String teacherPhone;

    /** 办公室 */
    @Excel(name = "办公室")
    private Long teacherClassId;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String memo;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Long deleteSign;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherNumber(String teacherNumber) 
    {
        this.teacherNumber = teacherNumber;
    }

    public String getTeacherNumber() 
    {
        return teacherNumber;
    }
    public void setTeacherBooktitleId(Long teacherBooktitleId) 
    {
        this.teacherBooktitleId = teacherBooktitleId;
    }

    public Long getTeacherBooktitleId() 
    {
        return teacherBooktitleId;
    }
    public void setTeacherRecordId(Long teacherRecordId) 
    {
        this.teacherRecordId = teacherRecordId;
    }

    public Long getTeacherRecordId() 
    {
        return teacherRecordId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherSex(String teacherSex) 
    {
        this.teacherSex = teacherSex;
    }

    public String getTeacherSex() 
    {
        return teacherSex;
    }
    public void setTeacherPhotoUrl(String teacherPhotoUrl) 
    {
        this.teacherPhotoUrl = teacherPhotoUrl;
    }

    public String getTeacherPhotoUrl() 
    {
        return teacherPhotoUrl;
    }
    public void setTeacherBirth(Date teacherBirth) 
    {
        this.teacherBirth = teacherBirth;
    }

    public Date getTeacherBirth() 
    {
        return teacherBirth;
    }
    public void setTeacherSite(String teacherSite) 
    {
        this.teacherSite = teacherSite;
    }

    public String getTeacherSite() 
    {
        return teacherSite;
    }
    public void setTeacherPhone(String teacherPhone) 
    {
        this.teacherPhone = teacherPhone;
    }

    public String getTeacherPhone() 
    {
        return teacherPhone;
    }
    public void setTeacherClassId(Long teacherClassId) 
    {
        this.teacherClassId = teacherClassId;
    }

    public Long getTeacherClassId() 
    {
        return teacherClassId;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeleteSign(Long deleteSign) 
    {
        this.deleteSign = deleteSign;
    }

    public Long getDeleteSign() 
    {
        return deleteSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherNumber", getTeacherNumber())
            .append("teacherBooktitleId", getTeacherBooktitleId())
            .append("teacherRecordId", getTeacherRecordId())
            .append("teacherName", getTeacherName())
            .append("teacherSex", getTeacherSex())
            .append("teacherPhotoUrl", getTeacherPhotoUrl())
            .append("teacherBirth", getTeacherBirth())
            .append("teacherSite", getTeacherSite())
            .append("teacherPhone", getTeacherPhone())
            .append("teacherClassId", getTeacherClassId())
            .append("memo", getMemo())
            .append("deleteSign", getDeleteSign())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
